﻿ALTER TABLE [dbo].[thist_Child]
    ADD CONSTRAINT [FK_thist_Child_thist_Root] FOREIGN KEY ([HID]) REFERENCES [dbo].[thist_Root] ([HID]) ON DELETE CASCADE ON UPDATE CASCADE;

